package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.capital.*;
    
    public class CapitalCommands extends Object
    {
        public function CapitalCommands()
        {
            super();
            return;
        }

        public function getLeftPoliciesTimes(arg1:int, arg2:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._getLeftPoliciesTimes_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.getLeftPoliciesTimes", loc1);
            }
            return null;
        }

        public function levyFood(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._levyFood_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.targetFieldId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.levyFood", loc1);
            }
            return null;
        }

        public function getUsedPoliciesTimes(arg1:int, arg2:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._getUsedPoliciesTimes_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.getUsedPoliciesTimes", loc1);
            }
            return null;
        }

        public function levyArmy(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._levyArmy_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.targetFieldId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.levyArmy", loc1);
            }
            return null;
        }

        public function levyPopulation(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._levyPopulation_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.targetFieldId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.levyPopulation", loc1);
            }
            return null;
        }

        public function reduceArmaments(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._reduceArmaments_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.targetFieldId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.reduceArmaments", loc1);
            }
            return null;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function levyTaxes(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.capital.CapitalCommandResponse
        {
            this._levyTaxes_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.targetFieldId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("capital.levyTaxes", loc1);
            }
            return null;
        }

        public var _getUsedPoliciesTimes_callback:Function;

        public var _levyTaxes_callback:Function;

        public var _levyFood_callback:Function;

        public var _levyArmy_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _reduceArmaments_callback:Function;

        public var _getLeftPoliciesTimes_callback:Function;

        public var _levyPopulation_callback:Function;
    }
}
